WPDM\MediaLibrary\MediaAccessControl A

Total Complexity 51
Dependencies 6
Dependents 1
Total lines 389
Lines of code 289
Logical lines of code 168
Comment lines 59
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
protectMediaLibrary()
B
40 16 50
mediaAccessControl()
A
39 9 76
updateMediaAccess()
S
52 5 23
makeMediaPass()
S
57 5 14
makeMediaPrivate()
S
57 3 16
makeMediaPublic()
S
57 3 16
mediaDownload()
S
61 3 11
mediaShortcode()
S
60 3 11
footerScripts()
S
61 1 32
__construct()
S
57 2 16
protectionSettings()
S
55 1 24